package Builder.one;

/**
 * @ProjectName: 23种设计模式
 * @Package: Builder
 * @ClassName: Test
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/18 20:45
 * @Version: 1.0
 */
public class Test {
    public static void main(String[] args){
        //指挥
        Director director = new Director();
        //
        Product build = director.build(new Worker());
        System.out.println(build.toString());
    }
}
